package com.itlzh.mall.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itlzh.mall.common.entity.UserInfo;

import java.time.LocalDateTime;
import java.util.List;


public interface IUserInfoService extends IService<UserInfo> {
    //按登录名查询
    UserInfo queryByLoginName(String loginName);

    //按注册时间和状态查询用户信息
    List<UserInfo> listByCreateTimeAndStatus(LocalDateTime startTime, LocalDateTime endTime, Integer status);
}
